<?php

$push =new StandardInvoker('endpoint');
$push->registerDef('joomla.def');
$push=new StandardInvoker();
$push->addPreFilter(new AuthenticateFilter('appName','authKey'),'authenticate',1);
$push0>addPostFilter(new JSONP(),'jsonp',1);
$id=$push->invoke('UserSync::createUser',array('username','password','email'));
$response=$push->getResponse($id);
